package com.liugai.lgeachday.controller;

import com.liugai.lgeachday.request.Response;
import org.springframework.beans.factory.annotation.Value;

public interface ControllerInterface<T> {
    //查询
    Response queryObject(int id);
    Response queryObjectList();
//    Response queryObjectList(String sql, Object ... args);
    // 修改
    Response updateObject(T obj);
    // 添加
    Response insertObject(T obj);
    // 删除
    Response deleteObject(int id);
}
